package com.hoshiicloud.marketmanagement.feign.hystrix;

import com.hoshiicloud.marketmanagement.feign.IdGeneratorService;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Set;

/**
 * @author campchen
 * @title: HystrixIdGeneratorFeignFallback
 * @projectName hoshiicloud-marketing
 * @description:HystrixIdGeneratorFeignFallback
 * @since 2019-05-14
 */
public class HystrixIdGeneratorFeignFallback implements IdGeneratorService {

    @Override
    public String queryGeneratorId() {
        return null;
    }

    @Override
    public String getComUserCode() {
        return null;
    }

    @Override
    public String getPlatCousomerCode() {
        return null;
    }

    @Override
    public Set<String> queryGeneratorIds(Integer count) {
        return null;
    }

    public static void main(String[] args) {
        int nano = LocalDateTime.now().getNano();
        System.out.println(nano);
        DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyyMMddHHmmss");
        String format = dateTimeFormatter.format(LocalDateTime.now());
        System.out.println(format);
    }
}
